import GlobalConfigDto from '@/core/framework/config/types/model/GlobalConfigDto'

const importEnv = (import.meta as any).env
const globalConfig = {
	mock: true,
	apiBaseUrl: importEnv.VITE_API_URL,
	authorizationKey: 'Authorization',
	loadDemoRouteData: importEnv.VITE_LOAD_DEMO_ROUTE_DATA === 'true',
	themeSettingShowFlag: false,
	i18nSettingShowFlag: false,
	DarkThemeModeSwitchShowFlag: false,
	environmentId: importEnv.VITE_ENVIRONMENT_ID,
	clientId: 'default',
	clientSecret: 'default',
	accountClientId: 'default',
	accountClientSecret: 'default',
	storageKeyPrefix: 'ace',
	layoutFootShowFlag: false,
	layoutFootText: '2024 © Ace Platform Admin By Ace Team.',
	layoutFootTextLink: '',
	systemTitle: 'Ace Admin',
	systemLogoUrl: '/src/assets/images/logo.png',
	amisEditorShowFlag: importEnv.VITE_ENVIRONMENT_ID !== 'production',
} as GlobalConfigDto
export default globalConfig
